package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.result.Result;

/**
* @author MrWang
* @description 针对表【shopping_cart(购物车)】的数据库操作Service
* @createDate 2023-10-25 16:14:05
*/
public interface ShoppingCartService extends IService<ShoppingCart> {

    Result saveShoppingCart(ShoppingCartDTO shoppingCartDTO);

    Result shoppingCartList();

    Result deleteOneShoppingCart(ShoppingCartDTO shoppingCartDTO);

    Result cleanAllShoppingCart();
}
